﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DDBuildTools.DataAccess.Components
{
    /// <summary>
    /// .net数据对应列
    /// </summary>
    public class TableColumeToNet:TableColume
    {
        #region "Private Variables"
        private string _NetColume_Type;
        private string _NetColume_DefaultValue;
        private string _NetColume_SqlDbType;
        private string _NetColume_OleDbType;
        private string _NetColume_OracleDbType;
        private string _NetColume_StringTrim;
        private string _Netcolume_ConvertString;
        private string _ScriptCheckTitle;
        private string _ScriptCheckTitleSearch;
        private string _DefaultCsSink;
        private string _DefaultCsSearch;
        private string _ManagerCsSink;
        #endregion

        #region "Public Variables"
        /// <summary>
        /// .net OracleType类型
        /// </summary>
        public string NetColume_OracleDbType
        {
            get {
                return _NetColume_OracleDbType;
            }
            set {
                _NetColume_OracleDbType = value;
            }
        }
        /// <summary>
        /// Manager.aspx.cs获取数据
        /// </summary>
        public string ManagerCsSink
        {
            get {
                return _ManagerCsSink;
            }
            set {
                _ManagerCsSink = value;
            }
        }
        /// <summary>
        /// default.aspx.cs判断查询数据
        /// </summary>
        public string DefaultCsSearch
        {
            get {
                return _DefaultCsSearch;
            }
            set {
                _DefaultCsSearch = value;
            }
        }
        /// <summary>
        /// default.aspx.cs获得数据
        /// </summary>
        public string DefaultCsSink
        {
            get {
                return _DefaultCsSink;
            }
            set {
                _DefaultCsSink = value;
            }
        }
        /// <summary>
        /// 生成查询输入框js提示
        /// </summary>
        public string ScriptCheckTitleSearch
        {
            get {
                return _ScriptCheckTitleSearch;
            }
            set {
                _ScriptCheckTitleSearch = value;
            }
        }
        /// <summary>
        /// 生成增加/修改输入框js提示
        /// </summary>
        public string ScriptCheckTitle
        {
            get {
                return _ScriptCheckTitle;
            }
            set {
                _ScriptCheckTitle = value;
            }
        }
        /// <summary>
        /// .net oledb类型
        /// </summary>
        public string NetColume_OleDbType
        {
            get {
                return _NetColume_OleDbType;
            }
            set {
                _NetColume_OleDbType = value;
            }
        }
        /// <summary>
        /// Sql字段转换为.net表达式
        /// </summary>
        public string Netcolume_ConvertString
        {
            get {
                return _Netcolume_ConvertString;
            }
            set {
                _Netcolume_ConvertString = value;
            }
        }
        /// <summary>
        /// 在数据类型转换时是否增加.Trim()
        /// </summary>
        public string NetColume_StringTrim
        {
            get
            {
                return _NetColume_StringTrim;
            }
            set
            {
                _NetColume_StringTrim = value;
            }
        }
        /// <summary>
        /// .net数据类型
        /// </summary>
        public string NetColume_Type
        {
            get {
                return _NetColume_Type;
            }
            set {
                _NetColume_Type = value;
            }
        }
        /// <summary>
        /// .net数据类型默认值
        /// </summary>
        public string NetColume_DefaultValue
        {
            get {
                return _NetColume_DefaultValue;
            }
            set {
                _NetColume_DefaultValue = value;
            }
        }
        /// <summary>
        /// SqlDbType数据类型
        /// </summary>
        public string NetColume_SqlDbType
        {
            get {
                return _NetColume_SqlDbType;
            }
            set {
                _NetColume_SqlDbType = value;
            }
        }
        #endregion
    }
}
